using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using UniversalAdmin.Application.Dto;
using UniversalAdmin.Application.Commands;

namespace UniversalAdmin.Application.Services;

public interface IAppRolePermissionServices
{
    Task<ApiResult> AssignPermissionsAsync(AssignRolePermissionsDto dto);
    Task<ApiResult<IEnumerable<object>>> GetRolePermissionsAsync(Guid roleId);
    Task<ApiResult<IEnumerable<PermissionDto>>> GetRolePermissionsDetailAsync(Guid roleId);
    Task<ApiResult> RemoveRolePermissionAsync(Guid roleId, Guid permissionId);
} 